<include file="Public:top" />        
     <script>
        $(function() {
		  $(".status .light").click(function(){		
			   var id = $(this).parent().parent().attr("id");
			   $.get("{:U('changeStatus')}", { id: id },
				function(data){
					 $("#"+id).find("span").removeClass("current");
				 	 if (data == 1)
					 {
						 $("#"+id).find("span").eq(0).addClass("current");
					 }
					 else
					 {
						 $("#"+id).find("span").eq(1).addClass("current");
					 }
				}); 
		  })		  
        });	
		</script>

	</head>
	</head>
  
	<body>
    
    

    

    
    <div id="body-wrapper" > <!-- Wrapper for the radial gradient background -->		

        <!--left start-->
		
        <include file="Public:left" /> 
        <!--left end-->
        
        
        <!-- End #sidebar -->			
		<div id="main-content"> <!-- Main Content Section with everything -->        
        		<div  id="header_logo">{:C("SITE_INFO.name")}</div>	 		
			
			<!-- Page Head -->
			<div style="float:left; width:380px;">
			  <h2>快递设置</h2></div>
			<div id="sreach">
            <form name="sreach" method="get" action="{:U('index')}">
              <input type="text" value="{$keyword}" style="width:150px;" class="text-input " id="keyword" name="keyword" placeholder="快递名称">
              <strong><a onClick="document.sreach.submit(); return false;" href="#">Search</a></strong>
            </form>
            </div>
            
			<div class="clear"></div> <!-- End .clear -->
            <br>
             {$msg}
             
               <div class="content-box"><!-- Start Content Box -->                  
                  <div class="content-box-header">  
                      <span class="insert" style=" display:none;float:right; line-height:40px; font-size:14px; font-weight:bold;"> <a href="{:U('detail')}">+ Insert</a>&nbsp; &nbsp; </span>
                    <div class="clear"></div>                      
                  </div> <!-- End .content-box-header -->
                  
                  <div class="content-box-content">
                      <div class="tab-content default-tab" id="tab1">                       
                      <!-- This is the target div. id must match the href of this div's tab -->	
                          <table>
                            <thead>
                              <tr>								   
                                 <!-- <th>ID</th>-->
                                 <th >快递名称{:createUpDownLink('express_name')}</th>    
                                  <th>快递简称{:createUpDownLink('express_type')}</th>                     
                                 <th style="text-align:center">状态</th>                                                                                                            
                                 <!--  <th width="150" style="text-align:center">操作</th> -->									   						 
                              </tr>								
                            </thead> 
                            <tbody>                           
                               <volist name="listing" id="vo" mod="2" >             
                                 <tr <eq name="mod" value="1">class="alt-row"</eq>>	
                                    <td style="font-size:14px">{$vo.express_name}</td>      
                                    <td style="font-size:14px">{$vo.express_type}</td>                             
                                    <td style="text-align:center" id="{$vo.express_id}" class="status">
                                    
                                    <if condition="$vo.express_status ==1">
                                      <span  class="hidden current"><img src="__PUBLIC__/images/icons/status_green.gif" />&nbsp;&nbsp;<img src="__PUBLIC__/images/icons/status_red_light.gif"  class="light"/></span>
                                      <span  class="hidden"><img src="__PUBLIC__/images/icons/status_green_light.gif" class="light" />&nbsp;&nbsp;<img src="__PUBLIC__/images/icons/status_red.gif" /></span>
                                    <else />
                                      <span  class="hidden" ><img src="__PUBLIC__/images/icons/status_green.gif" />&nbsp;&nbsp;<img src="__PUBLIC__/images/icons/status_red_light.gif" class="light" /></span>
                                      <span  class="hidden current"><img src="__PUBLIC__/images/icons/status_green_light.gif" class="light" />&nbsp;&nbsp;<img src="__PUBLIC__/images/icons/status_red.gif" /></span>
                                    </if>                                    
                                    </td>         
                                 </tr>
                               </volist>
                            </tbody>
                          </table>
                          <div class="pagination">{$page}<div style=" clear:both;"></div></div>						
                      </div> <!-- End #tab1 -->	
                                       
                      
                  </div> <!-- End .content-box-content -->
                  
              </div> <!-- End .content-box -->          
			
			
			<div class="clear"></div>
			
			
			<!-- Start Notifications -->
			
			

			
			<!-- End Notifications -->
			
            <div id="footer">
				<small> <!-- Remove this notice or replace it with whatever you want -->
						&#169; Copyright 2013
				</small>
			</div>
			
			
			
			<!-- End #footer -->
			
		</div> <!-- End #main-content -->
		
	</div>
	
	
	
	</body>
<!-- Download From www.exet.tk-->
</html>

		

